<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>JSP Page</title>
    </head>
    <body>  
        
    <c:if test="${not empty param.error}">
        Usuario/clave incorrecto
    </c:if>
        <form action="j_security_check" method="POST">
            Usuario <input type="text" name="j_username"> <br/>
            Clave <input type="password" name="j_password"> <br/>
            <input type="submit" value="Login"> <br/>
        </form>
    </body>
</html>
